package com.logistics.team3.po;
// default package

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * 配送点信息表
 * Distribution entity. @author MyEclipse Persistence Tools
 */


public class Distribution  implements java.io.Serializable {


    // Fields    

     private String id;
     /**
      *配送点地址
      */
     private Address address;
     /**
      *负责人
      */
     private Employee employee;
     /**
      *配送点编号
      */
     private String pointCode;
     /**
      *配送点名称
      */
     private String name;
     /**
      *电话
      */
     private String phone;
     /**
      *邮编
      */
     private String email;
     /**
      *备注
      */
     private String remark;
     /**
      *等级
      */
     private Integer grade;
     private Integer state;
     private Set wayDistributions = new HashSet(0);
     private Set cars = new HashSet(0);
     private Set ranges = new HashSet(0);
     private Set drivers = new HashSet(0);
     private Set receiptsForStartPoint = new HashSet(0);
     private Set receiptsForReceiverPoint = new HashSet(0);
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Address getAddress() {
		return address;
	}
	public void setAddress(Address address) {
		this.address = address;
	}
	public Employee getEmployee() {
		return employee;
	}
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
	public String getPointCode() {
		return pointCode;
	}
	public void setPointCode(String pointCode) {
		this.pointCode = pointCode;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getGrade() {
		return grade;
	}
	public void setGrade(Integer grade) {
		this.grade = grade;
	}
	public Set getWayDistributions() {
		return wayDistributions;
	}
	public void setWayDistributions(Set wayDistributions) {
		this.wayDistributions = wayDistributions;
	}
	public Set getCars() {
		return cars;
	}
	public void setCars(Set cars) {
		this.cars = cars;
	}
	public Set getRanges() {
		return ranges;
	}
	public void setRanges(Set ranges) {
		this.ranges = ranges;
	}
	public Set getDrivers() {
		return drivers;
	}
	public void setDrivers(Set drivers) {
		this.drivers = drivers;
	}
	public Set getReceiptsForStartPoint() {
		return receiptsForStartPoint;
	}
	public void setReceiptsForStartPoint(Set receiptsForStartPoint) {
		this.receiptsForStartPoint = receiptsForStartPoint;
	}
	public Set getReceiptsForReceiverPoint() {
		return receiptsForReceiverPoint;
	}
	public void setReceiptsForReceiverPoint(Set receiptsForReceiverPoint) {
		this.receiptsForReceiverPoint = receiptsForReceiverPoint;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	
  
}